package com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.certificate;

import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.certificate.dto.BusinessEmployeeCertificateListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.certificate.param.BusinessEmployeeCertificateCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.certificate.param.BusinessEmployeeCertificateDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.certificate.param.BusinessEmployeeCertificateListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.certificate.param.BusinessEmployeeCertificateUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessEmployeeCertificateCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/employee/certificate/fallback")
public class BusinessEmployeeCertificateCloudServiceFallback implements BusinessEmployeeCertificateCloudService {

    @Override
    public BusinessEmployeeCertificateListCloudDto list(BusinessEmployeeCertificateListCloudParam param) {
        return new BusinessEmployeeCertificateListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(BusinessEmployeeCertificateCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessEmployeeCertificateUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(BusinessEmployeeCertificateDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
